when moving away a file which shadows commons you must ensure that there is no redirect which continues shadowing commons after updating links remember to request deletion of the redirect also if you decide to move the file to commons there is no need to move it locally just tell the tool you use for moving it to commons to choose a different file name and an admin should soon delete the file