Fixed file paths inside file removement function