Moving listFiles to static-urls module
Added generatePrefixForPath shortcut method for generating a prefix from a path
Use new generatePrefixForPath method