checking how to create a file