works for processing files now