Implemented deleteFile method to use HDFS