added parameter to decide whether actions are to be performed on the os as well
fixes concerning the use of FileSystem