simple file processor