external file -> internal