cleanup filespace. change query for multiple groups of posts