Add FileExists method to check argument