Fixed check_file
Fix create_file
Fix filesize
Remove trailing whitespace