Added file replacing
Made UI changes to accommodate for replacing