one file to charts query