Added handling for get and head. Still need to implement reponse package and no read permission and file exist