Clean up deleted files
Validations on client side