Open files in different directories, as specified by settings