Build all files and validate input