@return null if the {@code path} denotes a directory; the contents otherwise.