Added method to verify that a file argument can be created.