Rewrite replacement algorithm. Add {|} and relative inclusion
remove wrong cased file
re-add file