Fixed a problem with moving files