Complete file-reading, incl. moving read data into its appropriate place