posting files for querying