change from inbuilt type "file" to generic variable name