Expose file and query ports