Test file with extension