fix&improve: filehandling, including restoring of trash support in Linux