How can I know if a directory exist on the hard drive?