def mergePaths(mount, file):
    """
    Merge a base path with a file. 
    eg 
    /path/ and file.txt become /path/file.txt
    but
    /path and file.txt also become /path/file.txt
    """
    if mount[:-1] == "/":
        return mount + file
    return "{}/{}".format(mount, file)