Added FileNameTemplate Private Class in FileTarget

FileNameTemplate private class added in FileTarget to encapsulate the
operations related to matching and replacing patterns on file names.