Added ability to check for a file based on name