file input of complex data