Fix PHP notice
Use Content-Disposition: inline for source view
Don't try to get file contents if file doesn't exist