Check if a file is currently open.
bool isFileOpen(String filePath) => _openFiles.containsKey(filePath);