added destination file checking/creating