Addressing breaking IFileSystem changes

@pranavkm
:+1: @Eilon . You could simply chose to remove `~/` in the first option and trim the `/` in the second option instead of splitting it over two steps.