Processing files for getting data