Add javadoc to method writeFile
Add package for SubRip format