should pass the filepath adn name to upload image