Pass the file as argument instead of a hardcoded name