check whether the file path is absolute