return from process in Process.GetProcesses()
             where process.Id <= 4
             let fileLocks = GetFilesLockedBy(process)
             where fileLocks.Any(filePath)
             select process;

:P