file parameter in query method