Get the lockfile file if it exists
The path to the directory to scan
The Lockfile object if the file exists, otherwise null
Get the lockfile file if it exists