more testcases and deletion of file option