Refeactored deploy -> deployment and changed methods. Added a test for checking that a new file is deployed over an existinf file.