Fixed blank file creation