using byte[] instead of String to keep headers of files (classpath:)