correct formatting
finish parse parameter and query file