adding file.mkdir() method