file retrieval callback