Fixing File Creation in linux