todo
file deletion
permission
fix errors