Import and process files