cleanup codes for ajax and add deleted files filtering for report list