Added method for creating file and creating dir.