cleanup of files, filter query, user data population