Detection of mount points

This method mixes the responsibilities of getting the file with the mount points and parsing it. I would separate it. This makes it easier to test as well.