Only check for file is argument is provided