Make file_line accept white spaces in path

Took over the validation code from validate_absolute_path.rb. I did not use the function itself as it throws another type of error.