check whether a file or directory from path
Merge pull request #19 from toshiwo/check_file_or_directory_from_path

check whether a file or directory from path