Return OPTIONS and HEAD in Allowed-Methods and use the request Origin if available for Allow-Origin.
Change file naming conventions, and make FileTree automatically rename existing files on start-up.