Return file data with component