splitted up IO-files for better overview, next step read in function