added functionality to access static files