continuing with files reading logic