Removing the file writing - it doesn't make sense