maybe implemented: get source from file to structure