Added option to automatically delete files after reading them