fixes #6, limit open file at moment to 64 and read files only when file requested