reads from separate files