the fictional skarloey railway was based on the talyllyn railway. this fictional railway formed part of the railway series of children's books by the rev. w. awdry. the preservation of the line inspired the ealing comedy film "the titfield thunderbolt".