file cleanup + deleted pdo bug fix