Restored forgotten file storing routine