Cleaned up method of serving static files