Add I/O traits and file device