Test file instead of a directory