made sure file processing happens on retrieval as well