Added proper static file handling, but range support is still broken