ERT-592 Refactor method to allow for direct input of filesystem
ERT-592 Added copyright notice