Testing file creation