Test adding a file