Changed defcustom type to file

defcustom type for the variable that stores the location of the file was set to `'directory`