Added file info and improved delete security