added 404 support/fixed file variable location

fixed indentation, added comments, fixed string literal

fixed multiline string literal

fixed comments and strings

fixed comments locations

fixed $file to use webroot by default