Adding some code for device handling and moving files.