Add a function to read imports