A brief check of file path validity.