Improve path management by splitting up input and output filesystem paths