fixed moveFiles to correspond to correct directory and added the formats