added function to transform beam file into an erl source code file