Test if a file exists on the local filesystem.