Allowed for files that are unable to be read

In that case it now returns None instead of throwing an exception.